package com.agileboot.domain.airport.checkTerm.db;

import com.agileboot.common.core.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@TableName("sir_check_term")
@ApiModel(value = "SirCheckTermEntity对象", description = "检查标准信息表")
public class SirCheckTermEntity extends BaseEntity<SirCheckTermEntity> {

    @ApiModelProperty("检查标准主键")
    @TableId(value = "check_term_id", type = IdType.AUTO)
    private Long checkTermId;

    @ApiModelProperty("检查库主键")
    private Long checkLibraryId;

    @ApiModelProperty("检查标准编号")
    private String checkTermCode;

    @ApiModelProperty("专业名称")
    private String professionName;

    @ApiModelProperty("业务名称")
    private String businessName;

    @ApiModelProperty("检查来源")
    private String checkTermSource;

    @ApiModelProperty("检查项目")
    private String checkTermItem;

    @ApiModelProperty("检查内容")
    private String checkTermContent;

    @ApiModelProperty("检查标准")
    private String checkTermStandard;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("删除标志（0代表存在 1代表删除）")
    @TableField("del_flag")
    private String delFlag;

    @ApiModelProperty("更新者")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @Override
    public Serializable pkVal() {
        return this.checkTermId;
    }
}
